package com.teamall.web.xxgl.db.dao.mapper;

import com.teamall.web.xxgl.db.arg.AidReportChannelArg;
import com.teamall.web.xxgl.db.po.AidReportChannelPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IAidReportChannelMapper {
    
    List<Integer> countByArg(AidReportChannelArg arg);

    List<AidReportChannelPO> selectByArg(AidReportChannelArg arg);

    AidReportChannelPO selectByPrimaryKey(Integer id);

    List<AidReportChannelPO> selectByArgAndPage(AidReportChannelArg arg, RowBounds rowBound);

    int insert(AidReportChannelPO record);

    int insertSelective(AidReportChannelPO record);

    int insertBatch(@Param("list") List<AidReportChannelPO> records);

    int updateByArgSelective(@Param("record") AidReportChannelPO record,
            @Param("arg") AidReportChannelArg arg);

    int updateByArg(@Param("record") AidReportChannelPO record,
            @Param("arg") AidReportChannelArg arg);

    int updateByPrimaryKeySelective(AidReportChannelPO record);

    int updateByPrimaryKey(AidReportChannelPO record);
    
    int deleteByArg(AidReportChannelArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}